CODE OF VIRGINIA WHEN AND BY WHOM WRITS OF HABEAS CORPUS AD TESTIFICANDUM GRANTED (§ 8.01-666) Writs of habeas corpus ad testificandum may be granted by any circuit court in the same manner and under the same conditions and provisions as are prescribed by this chapter as to granting the writ of habeas corpus ad subjiciendum so far as the same are applicable. HISTORY: Code 1950, § 8-608; 1977, c. 617.