Added most of the tests for basic partitioner (except constraint checking)
Merge remote-tracking branch 'origin/master'