spi: improve spi unit test to write to random pages