Move zero-length partition testing from JavaAPISuite.java to PartitioningSuite.scala