Added the test for HashMap's put method and integrated it to the main test