Add tests to check that public ip is returned for instances with it, but private ip is returned for vpc instances