`NodeObject` can contain auxilliary fields and shouldn't be used from outside.
Test getproof and verifyproof together.