Add test for UserEvent