add list_max_length to test