Key-Value storage

added tests to key-value storage