Fix syntax error in misc tests