added spec for self closer with attrs and id
added spec for self closer with attrs and id
added spec for self closer with an id