NEW: Unit tests for PxPay using mock gateway class.