Convert DNS tests to jasmine specs