Minor performance fix in channels
Refactor time API for dispatch

Add a few more tests