test: Debug, print out received events.

Signed-off-by: Blaž Hrastnik <blaz.hrast@gmail.com>