Tests for InitializeDaemonDirTask