new test for closing tags and for extra spaces at the beginning of the file