add spec for checking conversion of arrays