Make network_tuple optional, add test.