Fix phpunit rule test