Fix tests after latests changes on array management