Add test with empty networks_ids