Adding test on linear array and ring networks