Hashmap works; insert/replace are tested.