Add unit test for DefaultOwnIdentity.