Beam test results of the irradiated silicon drift detector for ALICE