Added implementation of icon setter w/ tests.