fixed SPItest.c