Bug 991442 - Add coverage threshold to test-agent

https://bugzilla.mozilla.org/show_bug.cgi?id=991442
Here is node.js part so doesn't have XHR. The require() is a good way which parse JSON string automatically into object.