Fixing config file test (broken try...catch) in config.js