rewrite all tests to use an inline error format, so the tests are easier to write and understand, and can support new things like warnings more easily