It is ok to have all this on every test for now, but if you use `mockery` to require and create a new app on every test, there is not need to restore original values.