Enables cache in tests