Fix the tests to use something that shouldn't disappear. Also fix the persistence test to use a tempdir that cleans up after itself