Makes TestLicenseHeaders error message better. Closes #505.