Renamed dns to dsn in tests.