Realization of HashMap (open addressing) with JUnit