Testing cosmology with a catalogue of voids in the BOSS galaxy surveys