Fix phpunit to be compatible with new version of phpunit