smallerHashStateMachine.on(SmallerHashStateMachine.Events.WrongPeer, function() {
   smallerHashStateMachine.stop();
   t.end();
 });
 setImmediate(function() {
   smallerHashStateMachine.stop();
   t.throws(function() { smallerHashStateMachine.start() });
   t.end();
 });
 smallerHashStateMachine.on(SmallerHashStateMachine.Events.FourOhFour, function() {
   smallerHashStateMachine.stop();
   t.end();
 });