Fix wfDebug() test so that it works with overridden SPI