Court of Appeal hears crucial end of life cases