added teardown method to flushdb after every test