fix indents. rename test_node_to_factor to test_variable_to_factor