Modified Bytes.ToHex

Changed expected version to be ulong[] instead of string
Refactored ticks computation