fix toArray test for PaymentProcessor()