Fixed caching issue and added a test to validate (needs more caching state assertions in TestNCubeManager)