added mediator test cases