Add user constraints
Unit test: user constraints

issue: #8
Merge branch 'dev/antoine' of github.com:IljaKroonen/WHBHW