Fixing integration tests by adding in memory cache