Added channel name to warning there is no history

Added test to make sure the behaviour is correct