add failing test for array of ints
use writeInt8 when reading from an array