UPS self-test