First version of checkboxes tests, and minor refactoring of the radio button tests to align them