Added one more test in bin/var_ref.sf;
Simplified some code in Exec.