Added tests fro mocked  dependency of logger component