Digest Prototype equality test working