added base_ensemble with tests