fixing invalid json and create provider test.
Merge pull request #75 from continuuity/feature/fix-invalid-json

fixing invalid json and create provider test.