testing payment controller