Add JUnit testing for NodeCacheManagerImpl class.