More logging with tests, fixing test files.
Some logging tweaks.
Increase log level in test.html files so that we can run them nicely in CI.