function getGuessResult(name, mock) {
	var result;
	parent.Intl = undefined;

	if (mock.offset) {
		mockTimezoneOffset(name);
		mockToTimeString(name);
		result = moment.tz.guess(true);
	}
	else if (mock.abbr) {
		mockTimezoneOffset(name);
		mockToTimeString(name, 'HH:mm:ss [GMT]ZZ (z)');
		result = moment.tz.guess(true);
	}
	else {
		throw new Error("Please specify offset or abbr");
	}

	Date.prototype.getTimezoneOffset = getTimezoneOffset;
	Date.prototype.toTimeString = toTimeString;
	parent.Intl = oldIntl;
	return result;
}
Returns a guess result for a time zone {name}
Is used go generate guess tests and also in guess tests