add spec for toArray