Fix tests and add test_list_download