They likely did test it, and it passed. The leak was probably caused by the somewhat violent environment of the launch, and that can’t be entirely replicated on the ground.