add testcase for VarList