Avoid issues when tests are using sinon.js

We backup the Date object to prevent interferences