Fix phpunit test