Make testservers an array

This way we can get rid of the if-else block which calls check_dns_servers.
As suggested by @msmark, thanks!