close stream tests

Added tests for:
close_stream
close_consumer_stream