tests for corrupt config files + header tidy