adding test for node_types