mainBinder.install(new GuiceBundle.GuiceEnforcerModule());
mainBinder.bind(TestingServer.class).toInstance(ts);
mainBinder.install(Modules.override(new SingularityMainModule())
.with(new Module() {
@Override
public void configure(Binder binder) {
binder.bind(SingularityExceptionNotifier.class).toInstance(mock(SingularityExceptionNotifier.class));