added KeyValue tests