tests: list: add test case for list_empty iterator