Adding test cases to HashTreeImpl class