create unit test for menus