fix phpunit issues