Add ASTWarning JSONFormatter test
Add CSTWarning JSONFormatter test
Add TestTextFormatter
Better location info in text formatted warnings