Updated Tests and Refactored UniqueIdGenerator to make more testable, by adding in InetAddressUtilities.