added  unit test for menu integration