Testcase done for list and detail