Mock out the underlying segment-io call.

TE-532

@rlucioni @jzoldak This should reduce some noise. The calls to segment-io weren't actually taking place because they would fail to initialize anyway.