Fix a bug in the test for php version 5.3