fixing free_iova bugs
adding test for reserve_iova