Test editing and deleting notes