kv_pair,py passes all unit tests