added test fot enclosing tags