committed mockery stuff for tests
phpunit testing libraries