Test for dict_to_node fixed, removed unused print statements