added 3 new unit tests for caching.