MD5fix
added test and updated RE
removed whitespace
Merge pull request #550 from killerfish/md5fix

MD5 fix for issue #546