Convert simpletest to phpunit