Adding uptime-test code