Adding in TLD, refactoring
Correcting errors in new tests
Added tests for TLDs, fixed bugs