Add spec for name and contentName in same pattern