updated test_node_functions.c
moved array initialization to the beginning of the parser
split getNode() into two functions: getDefNode() and getRefNode()