Add unit tests for NodeInterval