Testing a UPS by unplugging it from the wall
Solution 1:
You should consider turning off the circuit breaker to the outlet running the rack in lieu of unplugging the cord from the wall. The UPS is losing its electrical ground when you unplug it from the wall. While it's unlikely that anything would go wrong, the UPS designers "expect" that path to ground to remain available at all times, and if something did short during your test you might see sparks (smoke, flame, etc) when the electricity takes another path to ground. I've unplugged UPSs from the wall for testing before, but seeing a flash of "lightning" and hearing a loud "bang" coming out of a UPS during one such test gave me "religion" about not doing that again. After talking to an electrician friend I decided that, from then on, I'd do UPS tests that didn't interrupt the ground to the UPS.
BTW: The PowerChute Network Shutdown software from APC is garbage. You might have a look at apcupsd. It runs under a variety of operating systems (Windows included) and is much easier to configure (and to replicate the configuration on multiple servers via copying files) than the APC alternative.
Solution 2:
I'm going to make this point loud and clear.
DO NOT TEST THE UPS BY UNPLUGGING IT
You break the ground, which means if any of the hardware has a short, and there is no other ground it will go though you to get to ground if you end up being the shortest path. If everything is working fine this will never happen, but hey if this never happened there'd be no need for a ground.
Best way, is to have the outlet that the UPS is plugged into able to be switched on and off so that the gound and netural will remain intact though the test. The breaker can do this or you can do local high quality switch. If you can't do that, then put a VERY GOOD (ie $30 to $60 range) power bar with an off switch between the wall and the UPS, make sure you label the switch for what it is for. The point in the other post that is mentioned in the comment is to NOT over load the powerbar, doing it this way is better then unplugging it. You can now switch off the line in and simulate a power failure, this will leave the ground and netural intact.
You can test by letting it run down, although crude it will work. Also if the software has a calibration option it will do that for you and run it ever 6 months or so. The run time will degrade over time, so if you are using monitoring software to shut down the servers at say 15%, that 15% will change over time and it can correct for that.
For your voltage issue, if you can run a decided line from the power box to the servers and us it only for the UPS. Things like tube lights, fans, motors, etc will create dirty power. Having the server on its own will help that since it moves it to a circut further away for those items. If its still happening it might be worth getting an isolator put in or it could be that your utility power is just really bad. Put a good meter on to a line and see what its really reading. It needs to be a good meter because I've seen cheap ones be off by 5 volts and thats enough to cause a UPS to go into over voltage so you need an accurate number. If this is a church, there is a chance you have an electrican as a member that could help out.
Here are reference links to grounding and daisy chaining UPS
Grounding
Daisy Chaining