Unit tests for external ip