test for DefaultPartitioner