mac: fixed unit tests
mac: implementation of icon path