#117 fix SPI tests by adding missing key/value type checks

Missing key/value type checks are fixed, but the hit rate test is still failing because hit rate is not yet implemented. I left that test as ignored and I opened #122 to track the missing implementation.
You only fixed it in one place. This issue exists in quite a few, not just within this class but others as well.