Added HMap test using objects as keys.