Add tests for objectHighWaterMark.