Added unitt tests for the events that providers can fire.