Add ValidatePartitioning
Add test for -p option