function fakeEvent(sEventName, oTarget, oParams) {

		var oEvent = jQuery.Event({type : sEventName});
		if ( oTarget != null ) {
			oEvent.target = oTarget;
		}

		if (oParams) {
			for (var x in oParams) {

				// propagate property to event
				oEvent[x] = oParams[x];

				if ( x === 'originalEvent' ) {
					// if 'originalEvent' has been changed, fix it
					fixOriginalEvent(oEvent[x]);
				} else {
					// otherwise propagate property to 'originalEvent' as well
					oEvent.originalEvent[x] = oParams[x];
				}
			}
		}

		return oEvent;
	}
Delays the start of the test until everything is rendered or - if given - for the specified milliseconds.
This function must be called before the first test function.

@param {int} [iDelay] optional delay in milliseconds

@public
@deprecated As of version 1.120, not needed with property async test design. If tests depend on theming,
   they rather should use the waitForTheme option or module <code>waitForThemeApplied</code>.