added isLocalcloud context method test