LPS-41364

LPS-41839 Add more tests for SourceFormatter