#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.
Same comment as above, but I would also fine tune the exception message so it includes the value object itself - so it's a bit more explicit.