Effects: Integrate sinon fake timers into tests. Close gh-1377.