Implemented mset, madd for cache. Added tests.