I think a better test is to either hardcode the hashed version and compare the result to it. 
the right way, in case we want to compare match and hashed would be to look for substrings but that seems more trouble than it is worth.