[SPARK-2199][mllib] setter and tests are fixed