update agent testcases