fix QuantHash test