class_docstr: Base class for storage tests.
code: def check_store_vector(self, x):
      bucket_key = "23749283743928748"
      x_data = ["one", "two", "three"]
      self.storage.store_vector("testHash", bucket_key, x, x_data)
      bucket = self.storage.get_bucket("testHash", bucket_key)
      self.assertEqual(len(bucket), 1)
      y, y_data = bucket[0]
      self.assertEqual(type(y), type(x))
      self.assertEqual(y.shape, x.shape)
      self.assertEqual(max(abs(y - x)), 0)
      self.assertEqual(y_data, x_data)
      self.storage.clean_all_buckets()
      self.assertEqual(
          self.storage.get_bucket("testHash", bucket_key), []
      )
  
imports: import unittest
  import numpy
  import scipy
  from mockredis import MockRedis
  import mongomock
  from future.builtins import range
  from future.builtins import zip
  from nearpy.storage import MemoryStorage, RedisStorage, MongoStorage
label_desc: Use image node_id 2 for calling the StorageTest obj's underlying member method code with example usage: obj.check_store_vector(x) without return types