I have taken 3 VO2 max tests in NHS hospitals over recent years. These are, by definition, efforts until failure. I was in my 60's. I think it's highly unlikely that the medics present would have encouraged me to participate in something life-threatening (although I guess I was in the right place if they mis-calculated ).