Test integration exceptions on toArray()