For the trial of such contest, depositions of witnesses may be taken in like cases, for the same causes and in the same manner, as depositions are taken in civil actions in the circuit court. In all matters relating to the organization and impaneling of the jury, to the evidence, mode of proceeding and investigation and determination of such contest, not specially provided for by this article, the court shall proceed and be governed by the same rules and regulations, so far as applicable, as prevail in courts of law in civil cases.