Regression test for Boolean to integral types conversions.