Fixed segfault by writing momMag pdf in custom signal tester.