Converted UPS test to use the unittest module.