Barabasi network programmed with tests