Fixed _check_is_digit errors, and added additional tests to check for fa...

...ilures

https://github.com/OSU-Net/cyder/issues/28