[MAT-358] Correct CMakeLists and add test with SLF4J