Executors, administrators, and temporary administrators may commence and prosecute any personal action whatever, at law or in equity, which the testator or intestate might have commenced and prosecuted. They shall also be liable to be sued in any court in any personal action which might have been maintained against the deceased.