Add trapped array-likes to zero-/negative-length tests