Porting CheckBox and CheckBoxFor unit tests

Partial fix to #453
should? describe what the method does