octal: make more idiomatic

* extend the test file to require error cases.
* improve on the example solution
* change the name from ToDecimal to ParseOctal as it's more accurate