example hash comparison unit test