Add unit tests for NodePoint