High-energy electron test results of a calorimeter prototype based on CeF3 for HL-LHC applications