More code path test coverage

Added test coverage for untested code paths (mostly error handling) revealed by 'go tool cover'.
Almost. As it stands, asciiHex does not allow uppercase letter digits. I've updated the test accordingly.