add assertions on channel finish in pipeline tests