adding generate_single_item_view with delete and test