Fixes 3 MachineLearning unittests