Test BufferedOutputStream::flush() and ::close()