Sonar Violations and Formatting

I don't think changing the default logging config is the right choice. Change the testing config