events: Fix unit tests.

(ActionItem2587)

Signed-off-by: Marcos Ramos <ms.ramos@outlook.com>
Signed-off-by: Luiz Matos <luizff.matos@gmail.com>