[PATCH 4/6] test: spi: Add sandbox_spi_get_{speed, mode} interface