fix up tests. add non-negative pay amount validation