Due to DB crap I can't finish testing

But this deposit function should work...or should be fixable in
reasonable time in the worst-case scenario.