Test things correctly

It could say that the two hashs were identical
where only the last byte would be different !