Crypto database migration tests