Add mocha.
Agent should shutdown to send data to NewRelic.