Added Mocha, Chai and proxyquire for testing.
Made processes available outside the object.
Added tests for the streamController.