check the dead pid that was not caught by signal, add a threadable test codes, change testdaemon script more portable
remove print phrases in test