(bugfix) fixed the existing test programs