@Test
void createNew() throws IOException, SetupFailedException, KeyStoreException {

    final File f = newTempFile();
    final Feature feature = new MasterPasswordFeature(f, ORIG_PASSWORD.toCharArray(), NEW_PASSWORD.toCharArray());
    feature.setup();
    assertThat(f).exists();
    KeyStoreHandler.open(f, NEW_PASSWORD.toCharArray()); // throws if keystore cannot be opened with new password
}