Implemented simpletest testing.