Switches to getNode instead of getOrCreateNode for unit tests.