Porting CheckBox and CheckBoxFor unit tests

Partial fix to #453
let's rename this one to talk in terms of `htmlAttributes` and "calculation" then