Added test for erroring when sending after response channel is ended