Changed shipment confirm request to rate API request. #6338

Added test.