fix cache service test after converting keys to strings
removing mocha mocking framework and converting tests that use it to rspec.