Add some more tests to ensure reasonable invariants are enforced.
Merge pull request #5 from b0ri5/more-partition-tests

Add some more tests to ensure reasonable invariants are enforced.