Move config tests to ConfigTests
Add Warning#warning_code
Add warning code and fingerprint to generated tests