MathLib: Added test for isDec() and removed not required state.