Added tests for InitializeTriggerParametersTask.