tests: Make tests and runtime consistent
Runtime uses hashes as bytes Tests uses hashes as hex
The tests needs to be rewritten. In the mean time, that will do