added test_g_nodes
added test_g_edges