Added test for streaming responses

Related to #162