added spidev_test that compiles with gcc 4.8