adding comments to test_random_buffer.cpp