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