Allow AddSecretKey() to succeed if the key already exists (just noop). Added more tests.