mediator testing