Fix junit test for converting IP to domain.