After having testified, the prisoner shall be remanded to the prison from which he was taken. (1868-9, c. 116, s. 43; Code, s. 1669; Rev., s. 1861; C.S., s. 2248.)