Minor fix for phpunit tests