Added loggers and small fixes to improve output of tests