add spec for Numeric#duration