Adding tests for the Variable class