tests cleaned up and code modified

Tests have been changed to utilize assertEquals and assertArrayEquals
cacheToValue now uses uuidToBytes
valueToCache changed

changed valueToCache to use bytesToUUID