added class to represent Variable and its tests