Refactored PaymentRequestHandlerTest.