Fix for partitioning order in TimeDomain
Add test for Constraints#alignedWithBoundaries for time cases