Fix handling of multi-line On .. wrote: lines, and fix failing tests
Version 0.0.3