Added js unit tests for icon helper