Add test-cases for self-closing tags