The legal action one of the first of its kind filed in New York state will provide an important legal test of the controversial immunity provision pushed through early last year by Gov. Cuomo to protect nursing homes, hospitals and other health care facilities during the pandemic.