allow getters for configuration and datasource to simplify testing