Adding support for cloud endpoints

Adding utilites.EndpointsTest providing the proper environment as well as tools for testing cloud endpoint services.