Added register_event to host analysis test