Fixed #26 Modified unit-test for kv class.