With mixlib-config >= 2.0.0 we shouldn't need to store and clear the config anymore as we use the new #reset method after each test now.