spi tests