close DB in test