fixed function calls in test_spi_hardcoded