add test for history for nil channel