fixing phpunit tests