To test for proper seal, there are two tests.
As rob45 wrote, there is the positive pressure test, when you place your hand on the exhaust port and pressurize the mask.
There is also a negative or vacuum test, when you block the inlet port and suck air in, pulling the mask into your face.
Those...