Test that Interests._checkForMigration() does not resubmit history if database exists