updated to include SPI tests