Radiation hardness tests of Avalanche Photodiodes for FAIR, NICA, and CERN SPS experiments