Make test work on later versions of PhpUnit