Add test for rollback trigged by first isTooBig check in withdrawal algorithm
Turn inputTotal and outputTotal into methods