Add factory method of FileBufferSink
Fix method name rule of test