adding more test coverage - around getNativeCache - optimizing imports