Fix test case for PHP 5.3