Add tests to list fetching