add spec for array coercion