Corrected bug in the node_create_vardecl function and updated the dummy ast tests