std::map replaced with std::unordered_map
Test case added