tested ArrayNode.add() for adding to a loop
tested ObjectNode.add() works when adding to loop.
Partially implement test for PairNode.add() for adding the pair to a loop.