Use teardown helper method.

Ensure that SQLCounter.clear_log is called after each test.