Add tests for MenuParser.