Add a test to expose ArraysAsListSerializer primitive array bug