That trick with a wrench of piece of ferrous metal has been performed for many years to test for current flow through the rotor windings when if shouldn't be there.
One thing that needs clarified is that alternators do not use commutation, (commutator) segments as does a starter motor. Commutators are used in DC applications and are very good at both generating clean DC voltage and current, and consuming the same. Modern alternators use slip rings to pass field excitation current, (voltage) to the rotor inducing an alternating current, (AC voltage) into the secondary stator windings. This AC voltage is then rectified by the diodes of the alternator to produce DC voltage and current to operate the electrical system in the vehicle.
The wrench trick mentioned doesn't really matter at the front or rear of the alternator case. Most electrical connections are at the rear and I'm certain this is why John mentions he wouldn't use the rear of the case. In actuality, it is the same point electrically but you stand a greater chance of shorting something electrically at the rear rather than the drive sheave, (pulley). If you have magnetism in the alternator rotor when the ignition is shut off, there is field excitation current flowing through the rotor windings that is not being disconnected by the ignition circuit relay, or a shorted internal winding within the alternator itself. There should be no magnetism present other than residual which would not be enough to attract a piece of metal.