Changed test to support SSL