Improve tests. Fix some defects in the tests where we assume everything happens at time 0, modify the emission of fine stats so we emit them all in one go for a single channel (like real channels do) and add a test where things happen at different times. This fails against stable, and passes on this branch.