JUnit to log exception in case of error/failure