Removed simpletest; added phpunit test cases