[test][buffer] Remove unused typedefs.