Make DNS test standalone.

Shouldn't you use NUMBER_OF_CERTS here?