Better formatting for errors.
Test on newlines