Build provider config and test it close #11.