tdd testing on payment model