test for index in order_purchases_controller and update route effective for it