Basic tests for KV store and key generation.