Dependency and compilation encoding fixes

This corrects the slf4j-simple dependency and fixes the compilation encoding for the tests.