Adding tests for migrating key stores.