Add tests for ConfigFactory::getDefaultInstance