Let the migration finish before running tests