phpunit test for db