Fix PhpUnit tests