Added tests to prevent item/task/note deleted errors