tests/helpers.py: clean some common config options