@Override
    protected void configure() {
        super.configure();
        bind(DataSourceFactory.class).to(TestDataSourceFactory.class);

        GuiceUtil.buildMultiBinder(binder(), Clearable.class)
                .addBinding(TestDataSourceFactory.class);
    }
Will share databases between runs for the same config
stroom-test-common/src/main/java/stroom/test/common/util/db/DbTestModule.java