You can remove the flame sensor and test it if you want but it sounds like it is not very old.
The way i test it is to clip an ohm meter (multi meter set to ohms)to the two tabs on the flame sensor.
Hold the window of the flame sensor against a 60 or 100 watt incandescent light bulb...