Bug 61891: Add assert/assertnot to td event

This change adds the missing assert and assertnot functionality to the td
event.

Testing done:

td event with assert and assertnot