added test for menu selection