Tests of Higgs boson compositeness through the HHH form factor