OR-671 fix logging in all tests by mocking the logger and removing useless console.log
Merge pull request #540 in OR/rse from ~SLEMAISTRE/rse:OR-671 to master

* commit 'eccdb4ce7ad19db9b5ab89882d9f43ba95f565be':
  OR-671 fix logging in all tests by mocking the logger and removing useless console.log