fix phpunit tests
reimagine User tests with phpunit/DbUnit database testing