add db.clear to testDeleteNote,to make env no changes