Add basic reader tests. Fix bug with reading channel number