Fix tests to work with slf4j.