Testing prisoners for drugs shifts their use from cannabis to heroin.