Do you have a centre stand or swing arm stand, so that you can lift the rear wheel for testing purposes? If so, get the rear wheel off the ground and try simulate the riding position to see whether the bike cuts out with the wheel lifted or is it only while riding at a certain speed or over bumpy surfaces, etc?