dnsrend: added better testing and scripting of the wrapper