Added ParameterNode::getVariable() and requisite assertions to ParserTest.