Fix SEGV in parse_list
More tests