At one time, Colt, S&W and High Standard all shot their guns for accuracy and included test targets. They fired at least one full cylinder or magazine in addition to a proof load for each chamber. Later, Ruger did the same.
Today, I understand Colt fires only 1 proof load in its autos, 2-3 in the revolvers. S&W does the same thing, and probably Ruger has the same practice. The factory rep for a 1911 clone maker told me they fired one Cor Bon as a proof load, but of course it is not, being well within SAAMI pressure specs. The test/proof loads also show up any gross inaccuracy. If you want more test firing you will pay for it.
Perhaps, there is a an idea there, like the old Winchester 1 of 1000. If you want a pistol that has been test fired, and the target enclosed, the price will be an extra $50. Any takers?
As to accuracy, yes, handguns are made that will put all their shots in one hole at 50 feet. And they do come with a target. But why would anyone wanting a defense gun pay big money for a gun that would be totally impractical for that purpose. I admit that the idea of a free pistol in an IWB holster is interesting, but not very practical. Besides, if I need a defense gun at six feet I am not going to worry that it won't put every round in the bad guy's shirt button at 50 m.
Jim