IssueTest corrected. time() function mocked