[next][event] Fix basic unit test for get_typename and event libraries