Provide the loggers in jbpm test case and check they are not null while ...

...clearing the history

The loggers can be null for example when the build of assets fail. There is risen an exception but it prevents only the running of test. Nevertheless, the tearDown() method is called and the logger is null then.