added Date.now() polyfill; mocking Date does not work atm