Fix for UsageService uptime/downtime calculation.
Integration test for ssp-batch - covers UsageService fixes.