fixed phpunit tests