Fixed phpunit tests failure