Unit test written for generating config files