I am almost positive they will be outside the room not the stall. I've taken MANY puss tests, for jobs, court, my mom when I was young, you name it. Usually they are either staring at you while you pee, or outside the room, no grey area.
That said, if your piss is dirty, to pass an unsupervised...