Added limit to key name
Use mockGlobalVariable for Memc