spi write tested