Testing may need to be done frequently or only once, sometimes. Depending on the type of alarm system being used, test codes can also require a certain number of tones or flashes before going true. Additionally, some systems have a set number of smoke or fire detectors in the building in question before the alarm will sound.