added json test resources
added dev-dep for chai-as-promised
updated npm test to run gulp test