fixed test script to handle new config files