Simplify uptime calculation to always enforce minimum of 1 second, even if time.Since returns exactly 0 (can happen on Windows with coarse timing). This makes the test deterministic.