Add new test and close streams.