Fix Spi testing.