Fix PHPUnit tests.