updated monitoring UT to test registerEvent with sent value