menu test refactor