remove unused field
make SyncWriter flush messages immediately, fix AckSuccess placement
refactor *Writer functional tests