Tests for Daemon Listener