Fix removal of signals in testsignals program.