add tests of payment process