Better error reporting (use stderr), faster registration of tests, bug fix in tasks path to db handling