fixing error in phpunit