Make mock $timeout.flushNext expectedDelay optional as per documentation.