unit_tests: In TestIdentityManager, remove unused getPrivateKey and addPrivateKey.