Modify tests to remove one step in editing and deleting books