http to https in test