added error object client testcase