Fixed tests with false assumption that setTimeout/setInterval callbacks are called exatly after delay milliseconds; see http://nodejs.org/api/timers.html