Clean up test code for config_version