The following procedure is the proper way to do a carbon monoxide detector test - Press and hold the Test Button on the front of the detector until the alarm sounds. Be sure you hold the button down long enough; it can take up to 20 seconds for the alarm to respond to the test.