Fix phpunit testing