Added test for partition.data.frame