Testing basic hashmap function