Measuring the LISA test mass magnetic properties with a torsion pendulum