Added proper unit test for configuration validation to ensure that it actually works when cppcheck is executed