[TASK] Added tests for new cache features.