Easy testing of time-dependent code. Node.js