Measurements of Magnetic Properties of Kilogram-Level Test Masses for Gravitational-Wave Detection Using a Torsion Pendulum