Testing all checkboxes are using AJAX request to write to database