Porting CheckBox and CheckBoxFor unit tests

Partial fix to #453
Apparently I missed adding the file to the commit. I'll update the PR in a bit.