resolve testcases