Testimony will be allowed that could help Cosby.