Add unit tests for IsWhiteSpace and IsDigit