added some tests for payments functionality. need to fix error message test failure