Add spec for attachment