Test case for Issue #1.
Fix Issue #1

Last bits were not flushed correctly.