translate unit tests from coffee script to javascript, add default content type for nock responses so that superagent correctly parses them when running regression tests