added test for --configfile