add test for menu to check that command is executed when user choose a menu option