add failsafes to diagnose test failures
fix test freeze by ensuring daemonize is disabled