Fix uptime tests