Update script to setup test networks.

Change-Id: Ic5040e730c49608c80f1d49ad78e6c67b6e88159