The smoke alarm should be operating once AC power is applied, fresh batteries are installed and testing is complete.
Test a smoke alarm by using the test button. This will will ensure an accurate and complete test of your alarm(s).