It depends on the test. When I was on probation a few years back we were given an ETG test. It doesn't test directly for the presence of ethanol, it tests for a by product of a liver enzyme. Google ETG test for more info.
The bottom line is.. its a weak test. I used to drink the night before and I've never failed it.