add test for variable control.