added cache to incremental metric manager and test for it