the magneto is attached to the points behind the flywheel, i believe you can test it with an ohmmeter for resistance, you would have to google the procedure.

You can just spin the flywheel by hand, while holding onto a spark plug (that works) earthed against the motor. its either the magneto, the points or the sparkplug.