[UnitTests] Added automatic bracket insertion tests.