Fix syntax error in tests