fix phpunit errors