Fixed typo in createIcon method. I should improve my testing habits.