Added a test for clang-format diagnostics.