CA-107636: Fixing the utility code for testing a wrapped byte value against a min/max number of bytes.

Signed-off-by: Rob Dobson <rob@rdobson.co.uk>
CA-107636: Updating unit tests for wrap fix.

Signed-off-by: Rob Dobson <rob@rdobson.co.uk>
Merge pull request #19 from rdobson/ca-107636

CA-107636: Fixing bug in byte wrap code