Fixed test mode to use a different config file