fix phpunit test