Fixed warning message not being logged

Exchanged slf4j test dependency to a test agnostic slf4j implementation
which allows us to actually check the log messages.
Fixed warning message not being logged.