added util/common-keyset and unit tests