added test for the constructor

Because new Config(false) could possible throw it. Not a big deal so removed it