Now running only the problematic test, it looks like it is just not doing credit at all. I need to add a bunch of debug prints to credit