Normalize line endings and ignore mappings diffs

The mappings differ between different versions of node, so I can't get
the tests to pass consistently without doing this.
Add a test that checks the error message is passed through