add simple tests for pay_cmd.