Some changes uptime-test code