fix the test when there is only one batch
Merge branch 'master' of https://github.com/continuous-software/node-authorize-net