Fixed incorrect unittests and added unnamed properties in tests for jsonpatch.