Tests for m-accretive closedness of a second-order linear elliptic operator