Bug 991442 - Add coverage threshold to test-agent

https://bugzilla.mozilla.org/show_bug.cgi?id=991442
I don't think we should use require but XHR instead.