a photoelectric smoke detector has test circuitry for testing the detector by increasing the sensitivity thereof . the sensitivity is increased by either altering a bias condition of a photosensor or by altering a gain parameter of the detector . the detector returns to a quiescent state when the sensor returns to its original bias condition or when the gain parameter returns to its quiescent value .