Improve check for PHPUnit