Fixing a test that will sometimes error depending on order tests are run in (note, need to review how these integration tests run, quite fiddly and causing headaches)