[buffer] Suppress MSVC unused parameters warnings.
[test][buffer] Add test cases for Polygon.