Text this: Design and Test of a Calibration System for Avalanche Photodiodes Used in X-Ray Compton Polarimeters for Space