Adapt SCompositeModel example to doc standard
Adapt modeling constraints example to recent changes
Add unit test for constraints example