improved mesh partitioning testing