The hashfunction was not correct: changed it and now it results in corrects for all 12 non-heuristic testCases