Debugging on testing the partitions