[SPARK-1701] remove unnecessary use of numSlices from pyspark tests