Added missing key/value type checks in computeXXX() and bulkComputeXXX() methods and new SPI tests