Error reporting tests
More error reporting tests
Fix all the error-reporting