Fix wrong op in mapPatch test
better comparison of string type