fixing phpunit error