I'd be tempted to put some petrol in a little garden hand pump sprayer (atomiser) & spray it into the snorkel or remove the air box lid when its idling.
If the revs rise more than you can get it to rev by turning throttle grip, you have an issue with the fuel supply. If its the same, its electrical.
When running the bike with the tank removed, I have/use an old washing up liquid container with the bottom cut away & the nozzle pushed into the fuel pipe. Keep an eye on the level & I don't put too much fuel in case it spills out.
I always have a couple of wet/damp towels & a fire extinguisher close to hand also.
I found out the hard way, No amount of screaming & bashing a fire with an empty tool bag puts the flames out
