add Test::Exit dependency
fix unambiguous exit usage
change default directory for pid files
remove unused types