Tidies up tests.