Update testmodule.py for new config structure.