BLOOMINGTON — A judge on Thursday granted a man's request for DNA testing on forensic material collected by Bloomington police from a gun used to threaten a woman during an attempted sexual assault.