Fixing bug to not call the custom setting in tests, which causes a DML that breaks some test cases.