The remedies given by this chapter may be maintained by and against executors and administrators, in all cases where they could be maintained by or against their testators or intestates, if they were living.