Add a test: testSmartBuffer::test_watermarkResetIndex().