typo
The restriction type can be provided in constraints constructor.
Test the restriction mode in the constraints constructors.
Simplify some tests