corrected test_add_nodes_non_string