Fixed a broken test on PHP 5.4