Beam test calibrations of the HEPD detector on board the China Seismo-Electromagnetic Satellite