added spec for the case of a tag with no content