Fixed unit tests after adding printing of exception information.