variable class for scripting
unit tests for variable class constructor