added unit test for MenuGenerator