network: fixed the tests so they are no longer dependent on the default network depth.