Fix test because the order of filesystem iteration is non deterministic