added test for Ensemble