Adding a teardown

This test adds a DB cache, which causes query counts to inflate after this test has run, making sure that gets removed on teardown.