Make true iterator test compatible with PHP 5.4