Fixed test to be PHP5.3-compliant