Review the existing unit tests in the repository, particularly tests for other Leaflet components. Understand the test setup and convention. Then write tests for LIcon covering its props, methods, and rendering. Follow the pattern established in the project. No additional context from maintainers is provided, so rely on existing tests.