Adjusted method of run testcase