fix a typo and add test for create_node & delete_node()