added api testcases