fix test
test that there is no redundant occurrence in the parsed array
test that an object in the json array is in the parsed array
test that a parsed object is corresponding to its json object
refactor to write tests