[feature/test-coverage] Split event listener into a viewonline and global link
[feature/test-coverage] Add tests for event/menu_link_listener