remove tokyo cabinet dependency on keyvalue tests

A Hash can be used as the KeyValue store for tests, so the dependency on tokyo cabinet can be removed.