Fix test_empty_list cannot reproduce bug issue