allow namespace caches to be reset for testing