Ensure that an order with its last payment in the 'checkout' state results in a payment state of 'PENDING'