Adding tests for Variable.save_value