add test for ragged arrays