entites, phpunit test, connection