[#1804] Config tool tests & PEP8