test db clearing