test_iter_network_events and fix Repository.issue