The department of revenue in any matter material to the valuation, assessment or taxation of the property of any company, may cause the deposition of witnesses residing without the state or absent therefrom, to be taken upon notice to the company interested in like manner as the deposition of witnesses are taken in civil actions in the superior court.