Test cases to ensure resolution takes place correctly

Resolv does the right thing when supplied with an IP address instead of a hostname, this test asserts that.