Add KeyValue tests.