Adding tests for KeyStoreManager.