Changed var_decl so that we could declare List
Changes the test cases according to var_decl for list declaration.