Improve test performance by using the md5 hasher for tests.

This isover a 2x speed, from ~45 seconds to ~18 on my laptop.