mediator.js tested.