fix verify_networks tests