tiny additions to JsonPointer, test refactoring