update closure testcase