[test][algorithms][buffer] fix unused typedef warnings
[algorithms][buffer] fix unused typedef warnings