It might better to put this in a `context` block and use a teardown, just so assertion failures cause it to reset.