Starting updating deprecated Hashdict.new by cleaning up tests

Could you look at this if I got it correct. All the tests passes