bringing daemonization under automated test