add tests for payment stuff