add some test codes for HashMap