Function hash map appears to be passing unit tests