fixing test programs