Removed extraneous XPath field in VariableDeclaration.
Created TestHelper for asserting that two scopes are the same.