Fix PHPUnit test