Fix test for formatter where the attributes are changing order for some reason to not have random test failures. Used regex to catch both cases.
Add human-readable log output. It prints out the exact source code line information.