Adds Test for NodeVisitor/Scope instantiation