Cleaned caching tests with mocha