Add tests for ConfigFactory::getDefaultInstance

Change-Id: I6d356458dfe0a66f9af12ab58a6b1dcf47b6325a
Merge "Add tests for ConfigFactory::getDefaultInstance"