add digital root spec for ruby