Keymanager tests added.