fix phpunit tests