Made test runner more flexible.
Improved logging - If database cannot be created during set-up, the error message was not shown or logged.