UI tests needed for menu
As a follow-up to #419 (closed), we decided to implement UI unit-tests for menu. Yes, it's a compromise. After this ticket is done and we have UT ready and working, we may revisit the question whether the function is lacking in performance and whether this is a problem or not. But that's outside of scope of this ticket.