Fix varname type in test

Change-Id: I3cf623a8348a328479d9956408ea64e059262f8d