While performing test trips the #3 hoist kicked out and the drive would not reset. A program change to correct a nuisance trip for the new slack rope detection system also created a new fault for mismatch speed between the drive and PLC. During the hoist test trip, the mismatch speed fault occurred, but could not be reset due to an error in the logic code that was installed.