Use Bundler.with_clean_env instead of resetting the environment manually on testing.

I just didn’t knew about Bundler.with_clean_env before. This method
properly resets the entire environment within its block to the values
that existed before Bundler modified anything. Very handy,
especially if shelling out to a Ruby program that wants to use its
own Bundler setup.