Added tests for payment crontroller

[#162]