Porting CheckBox and CheckBoxFor unit tests

Partial fix to #453
why?