Assert before and after event occur

Signed-off-by: crynobone <crynobone@gmail.com>