Move the gettimeofday redefinition to the MockTime package.
Remove gettimeofday redefinition from two more tests.