We have some problems with non-hermetic tests in the lib crate, so we'll want to reuse the setup code there.