fixed bug display uptime
added test for function uptime_hm