Refactor
Add test cases about /list api