Fix minor type in error message
Add settings override support + Add test structure
Update RegisterSecretKey xml type

Change to return RegisterSecretKey instead of RemoveSecretKey
Add basic unit tests