Fixed formatting inconsistencies and added comments for the formatting tests.