They've done the bag swab from time to time before and it never adds more than a minute to the wait time. You'll have to walk the walkway between T2 and T1 (about 5 minutes) and then do the swab before entering T1 then go check in.
I wouldn't be comfortable with a connection like this unless I had at least 4 hours built in, especially in the summer.