testNetwork and diff