Fixed the auxiliary function distributeCard_testReset