test custom checkbox code