added tests for app.mediator module. installTo method added to app.mediator