Fix array tests to assert items are equal