s_expressions-test_tools: new type memory stream to test input and output interfaces to streams