uses proper resouce loading in tests
adds errorlogging with slf4j