Improve comments and formatting in tests.