small fix in cloud code and menu manager test