In this (and the other tests) would it make sense to set the cache path to a tempdir so we know we're not polluting any "real" directories with test data? Also, maybe we can put this into a RSpec shared context? https://www.relishapp.com/rspec/rspec-core/docs/example-groups/shared-context