Add test for cache
Include slice key in require msg