Recommend all new tests use hamcrest matchers, ex:

     assertThat(hash2, is(hash1));

These produce more descriptive messages when the assertion fails.