If you look in the test vectors for whirlpool you'll see the MD lines have spaces in them. We can drop the replace if we strip the spaces in the test vector file.