update testcase to check the ID of variable is fixed after chaning its type