Added keyring model unit tests.