simple tests for outputStream