Eliminated duplicatation of the first part of domain names, and added a test to confirm the last part of the domain is an AS#.