added test for hash constructor and code clemate badge