fixes php5.2-specific syntax error in tests