tests for Daemon Listener #59

using IDfromPubKey
clarifying method name
fmt the test