Actions for the recovery of any property or for the possession thereof, and all actions founded upon contracts, may be maintained by and against personal representatives in all cases in which the same might have been maintained by and against their respective testators or intestates.