Reduced complexity of mdns module, integrated unit test for the query
creation