Added stats for stopping channels and cleaned up eunit tests.