Fix syntax error in testSpec