Cleanup tests.
Use `Date.now` if available.