fixed moveCredit bug in TestDriver