The “test” function does not trigger Smart Home Monitor.
If you want to end-to-end test Smart Home Monitor for Smoke, then you need to actually waft some real smoke (or “canned simulated smoke” - available at hardware stores) to the detector. Personally I just carefully light some paper (after soaking most of it in water).