2005 Sportsman 800

Hi everyone, I recently purchased a 05 Sportsman 800 from a buddy of mine.When i got it home and took it for a ride everything was fine. After roughly 20 minutes of riding it seemed to go into limp mode and wouldn’t go ever 30 mph. It has a K&N air filter and Muzzy dual exhaust. My first thought was running to lean. Nope. After a couple more hot laps and making it go back into limp mode I checked the spark. The coil that runs to the left side cylinder is only firing when it wants to. Should I automatically assume bad coil or is there a way that I can test it. Thanks for your input in advance.