Rewrite more to use testing_config.
Rename 'c' variable to 'config' for clarity.