Fix #237: add a test on boolvar for scalar reduction
Merge branch 'iss_237' into develop