Reorganizing input tests and adding tests for checkboxes and radio buttons.