Added a boolean control and associated tests.