Added tests for menu controller