Tidy up more resources during the tests.