test conditional menu items in gem