Added test to check if md is reset after .digest is called.