Adding test: MenuCodeGeneratorTest, which tests resource extraction with code generation for menus.