No person who testifies for the state in any prosecution for any unlawful exhibition or erection or construction therefor or forfeiture accruing therefrom shall thereafter be prosecuted for anything about which he has so testified.
Conn. Gen. Stat. § 21-8
(1949 Rev., S. 4646.)