Add tests for OFStream.