Add check to assess if priv key is present
Add test coverage of getSecretKeyFromBridge