test radio buttons and checkboxes