[features] add tests for user and event