Wrote tests for VariableNode.