the ignition system is separate from the lighting system. there are threewires coming from your magneto. black, yellow, and blue.
yellow= power for lights and horn
blue= power for ignition system
black= ground for ignition system.
the test you did proved nothing more that your lights work. coils rarely ever go bad unless some outside force caused damage to them. such as carb cleaner.