Unit tests for dnsaas