refactored requisitionDetailApiTest