test for checkboxes