Changed Test interval
Extracted showNumber function from show functions
updateTime without state
Separated test code from production code and updated time calculation to use passed millis