function applySkipTop(oXhr, aResultSet) {
		var iSkip,
			iTop,
			aReducedUsers = [].concat(aResultSet),
			aMatches = oXhr.url.match(/\$skip=(\d+)&\$top=(\d+)/);

		if (Array.isArray(aMatches) && aMatches.length >= 3) {
			iSkip = aMatches[1];
			iTop = aMatches[2];
			return aResultSet.slice(iSkip, iSkip + iTop);
		}

		return aReducedUsers;
	}
Reduces a given result set by applying the OData URL parameters 'skip' and 'top' to it.
Does NOT change the given result set but returns a new array.
@param {Object} oXhr - the Sinon fake XMLHttpRequest
@param {Array} aResultSet - the result set to be reduced.
@returns {Array} the reduced result set.