MajorityFitter returns ValueError when given Cont class.
MeanLearner predictor, widget and unit tests.