Fixed another test case to be compatible with PHP 5.4.