Issue #55: add unit tests for fetch_icon