Failing test
Some test cleanup
Fix, and cleanup, the unhex helper methods.

Fixes #526
Minor cleanup and test simplification
And exact case from issue for good measure
merge nathanlws: Fix UNHEX

Merge pull request #996 from nathanlws/sql-layer/fix-unhex
https://github.com/FoundationDB/sql-layer/pull/996