add spec for array utility component.