Porting CheckBox and CheckBoxFor unit tests

Partial fix to #453
remove; this isn't used