spi: improve spi test with more advanced reading/writing of eeprom