Fixed tests and added left-pad zeroes to ensure same length hashes