Added LocalDeclaration and GlobalDeclaration tests.
Added VariableReference tests.