show runtime of each job on the history page
added tests for runtime