Add slf4j-log4j to the test classpaths

This allows the tests to pass without requiring slf4j-log4j across the
board.