Use different testing pattern for PHP 5.4 and PHP 5.5