[OHAI-518] remove *.static.cloud-ips.com

Fixes issues with Pull Request #215
- fixes tests
- moves `require "resolve"` to top of file
I added that stub here because, I was under the impression that this was the location to set the default stub. Is line 21 actually the correct location for this stub? This is the first time I've edited an rspec file with `shared_examples_for`