add tests for fx::Buffer