Python merkle implementation and some testing thereof