Modified the SPI test function to test 16 bit transfers