Test MD5

Nit: this works ok, but I would simply th.fail() inside the try block after calling md5.digest, which avoids the need for the local variable `exception`.