I had this happen at LAX T4 in 2008 while connecting back through to QF107. Had finally cleared through the line and the checkpoint and was sitting on the ground putting my shoes back on.
They yelled 'everybody freeze'. I just kept doing what I was doing.
About two minutes later, just as I'd finshed fixing my shoes, they called the all clear and the thanks for taking part in a test bit.