CDI, if it idles fine and then sounds like it drops a cylinder when you put it to work, or if it runs or has ran fine very recently but stalls after about 30 seconds of run time then the CDI is toast. It was the last thing I finally installed before I sold my 650sx after a full summer of chasing those issues mentioned. I checked everything other than the CDI, changed carbs, both freshly rebuilt, trimmed high tension lead ends, new plugs, new caps, cleaned every electrical connector and gave them dielectric grease...only to find out the CDI failed. If for some reason it ends up not being the CDI, having a back up in your parts inventory is always a very good idea. Also remember, when testing compression both plug boots should be grounded. The easiest way to do that is to just have a plug in each boot and decently secured to the engine...do this when checking the plugs for spark as well. Both plugs need to be grounded to the head or block. The reason being that the capacitors inside the CDI will swell and eventually burst if they can not discharge, the end result will be a failed CDI.