added test for edit_item page, added route and view for editing item