Fix OwnIdentityTest.testClone() to contain the improvements of the previous commits on IdentityTest:
- This adds proper handling of subclassing to DatabaseBasedTest.testClone()