Unit test for icon directive.