Green’s Dictionary of Slang

piss test n.

also pee test
[piss n. (1) + SE test]

(drugs) a urine analysis, carried out to check for drug use.

D. Cluster They Should Have Served that Coffee 162: The piss test was their [i.e. former addicts] judge.
[US]R. Price Clockers 309: ‘You got a piss test, Strike?’ Thumper said.
[US]Re’al ‘Bull’ Oney Hellions! 32: My piss test came back and it was okay.
[Aus] L. Jose ‘Underhooks’ in Crime Factory: Hard Labour [ebook] Bentley gestured with the bong. Sammy shook his head. ‘Piss tests’.
[US]J. Stahl Happy Mutant Baby Pills 43: I was supposed to report to a probation officer and take random pee tests.
[US]D. Winslow Border [ebook] The rules of the place said that Martina had the right to give her a piss test and it rang the bell so she was out on her ass.

In derivatives

piss tester (n.)

(N.Z. prison) an officer who takes inmates’ urine samples.

[NZ]D. Looser Boobslang [U. Canterbury D.Phil. thesis] 142/1: piss tester n. (also piss test officer or man or piss boy) a member of the piss squad.