add test case for list resource