If I remember correctly the automated-test package we developed some time ago (see dotLRN test server) contains support for assertions.....
I think....