No they DO NOT test for AAS in the Military. However, if you start flipping out on people and coming unglued,while adding on 25 solid pounds of muscle in a month, then they will most likely test. A lot of people will know, but they dont care. Unless they are certain the commander is not going to initiate the test, when there is a good chance it will be negative, and inturn getting an IG complaint filed for false accusations.
Im sure there may be a few PD's that test, hwoever I just cant see them being able to afford multiple 250-300 dollar tests