Switch to slf4j for logging; make unit tests work