restore environment after purging modules in options.py unit tests