Tests for dnsmatch endpoint