Adds test for self-closing tag