changed test to set config file dynamically