Add test program for spi device