test for calling init
it "should call init on creation", (done) -> spy = sinon.spy ircBot, "init" ircBot.save() spy.should.have.been.calledOnce done()