Simplify config test by using loadConfig() locally