Fix schedulingAlgorithm bugs for unit test
Merge pull request #634 from xiajunluan/master

[Spark-753] Fix ClusterSchedulSuite unit test failed