Add test of datashape.has_ellipsis function