teardown the content database after tests

@jkarni can you review?