I have 5x 1500VA UPS's, and live in a location where they, and AVR, are Needed Greatly.... Age of each is at least 5 or so years... During that time-frame, I have had 3x outright failures -- Each attributable to Batteries opening up... A neighbor has same mfg UPS, and I walked him through battery replacement as well, (Outright failure on 4 year old OEM batts).
(Each UPS has 2x 12v Batts in series... The control board needs 24V to run, if a cell opens, Control board stops, shutting it down).. My units do not have ethernet connections for communications, just USB A connections, but I'm also on whole house generator, so I only need 30-45 seconds... So safe shutdown is not a concern here... Outright failure symptom: Nothing has power.
But tests are done with full load on new UPS, after 24 hours, and then once a month, via USB and UPS's software (Walk a laptop around). Not certain if Neighbor checks monthly, I showed him but..... Only once have I had a symptom where the test passed, yet the UPS display indicated a lessening of time to provide a full load... and I replaced those 2 batts soon after that. I Always replace both batteries at the same time.
I find 12V 7A or 12V 8A batts installed from Factory.... I have found 12V 9A replacements.... that fit. As of now, none of units with replacement batteries have failed, and one of 5 units are still on OEM Batteries with no sign of weakening... (moved to lowest Critical Location, for long term test)...
Again.... I find: The Self Test is not 100% accurate.... When a Failure happens, it will usually be immediate, due to an open cell (Internal Weld Opening Up--with little warning!)..... My Findings...
PS: at work, years ago, with different MFG UPS, I encountered same Sudden failures-with batteries)