Added assertIdentity method