I was under the impression that once you begin the security screening process, if you attempt to leave before the screening is complete, you can be arrested.
(I can see a valid security argument for not letting people do test runs against the security system without consequence, but it's probably not a bigger benefit than the civil liberties lost in doing searches.)