Add test for flushing buffer